package com.godGuang.mine.mapper;

import com.godGuang.common.system.domain.SysUser;
import com.godGuang.mine.domain.*;
import com.godGuang.mine.domain.Req.ReqEvaluate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author The future is full of hope
 * @CreateTime 2024/1/8 0008 14:04
 * @PackageName:com.godGuang.mine.mapper
 * @ClassName: MineMapper
 */

@Mapper
public interface MineMapper {


    List<Catalogue> queryCatalogueName();


    List<Drug> queryDrugNameByCatalogueId(Integer catalogueId);

    List<Disease> queryDiseaseNameByCatalogueId(Integer  catalogueId);

    List<Pharmacy> queryPharmacyName();

    List<Drug> queryDrugByPharmacyId(Integer pharmacyId);

    SysUser selectUserByEmail(String email);

    Drug queryMineByName(String name);

    void evaluateDoctor(ReqEvaluate reqEvaluate);


    void insertDisease(Disease disease);

    void insertGift(Gift gift);

    Gift queryGiftByName(String doctorName);

    void updateGift(Gift gift);

    void insertEvaluate(Evaluate evaluate);

}
